[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Modifying the Debugger
If you want to modify the debugger, copy perldb.pl from the
perl library to your current directory and modify it as
necessary. (You'll also have to put -I. on your command
line.) You can do some customization by setting up a
.perldb file which contains initialization code. For
instance, you could make aliases like these:
$DB'alias{'len'} = 's/^len(.*)/p length($1)/';
$DB'alias{'stop'} = 's/^stop (at|in)/b/';
$DB'alias{'.'} =
's/^\./p "\$DB\'sub(\$DB\'line):\t",\$DB\'line[\$DB\'line]/';
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson